//
//  ConferenceAnnotation.m
//  SHPE Conference Companion
//
//  Created by Alex Muller on 4/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "ConferenceAnnotation.h"


@implementation ConferenceAnnotation

@synthesize confImage, confName, confAddress, confLat, confLong;

- (CLLocationCoordinate2D)coordinate;
{
    CLLocationCoordinate2D theCoordinate;
    theCoordinate.latitude = [confLat doubleValue];
    theCoordinate.longitude = [confLong doubleValue];
    return theCoordinate; 
}

- (NSString *)title
{
    return confName;
}

- (NSString *)subtitle
{
    return confAddress;
}

- (UIImage *)image
{
    return confImage;
}



@end
